Skip to content

Instantly share code, notes, and snippets.

@Hiryuto-oecu
Hiryuto-oecu / Set Random Lock Screen Wallpaper from a Folder.md
Last active January 24, 2026 09:31
Set Random Lock Screen Wallpaper from a Folder

Set Random Lock Screen Wallpaper from a Folder

This PowerShell script automatically sets a random image from a user-specified folder as the Windows lock screen wallpaper. It uses modern Windows Runtime APIs for robust performance and does not require administrator privileges.

Features

  • No Admin Rights Needed: Runs safely under a standard user account.
  • Random Image Selection: Automatically picks a random image (.jpg, .jpeg, .png) from your chosen folder.
  • Detailed Logging: Creates a log file (LockScreen_Log.txt) in your Documents folder. This file records every step of the process, making it easy to troubleshoot any issues.
  • Path Validation: Checks if the specified image folder exists before attempting to read from it.
@dimkaram
dimkaram / advanced_circadian_lighting.yaml
Last active January 24, 2026 09:29
Homeassistant Automation Blueprint for Advanced Circadian Lighting
blueprint:
# INTRODUCTION
name: Advanced Circadian Lighting
description: >-
This automation adjusts light brightness, temperature, and color hue,
based on presence, current time and sun position.
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active January 24, 2026 09:28
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@beevelop
beevelop / gitprint.js
Created April 11, 2017 10:31
Print GitHub markdown files
document.querySelector('#readme').setAttribute('style', 'position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background-color: white')
document.querySelector('body').appendChild(document.querySelector('#readme'))
window.print()
@ih2502mk
ih2502mk / list.md
Last active January 24, 2026 09:25
Quantopian Lectures Saved
@sabscriptss277
sabscriptss277 / github.script Moriera scanner steal a brainrot
Last active January 24, 2026 09:27
Auto moreria method steal a brainrot
AUTO MOREIRA SCRIPT BELOW👇
loadstring(game:HttpGet("https://pastefy.app/VwEE9qa1/raw"))()
@jamesedmonston
jamesedmonston / react-native-maps@1.24.3.patch
Created June 19, 2025 16:16
Expose `onAppleMapsPoiClick` on `react-native-maps` `1.24.3`
diff --git a/node_modules/react-native-maps/.bun-tag-4cdf7cf5b2bc19a8 b/.bun-tag-4cdf7cf5b2bc19a8
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/react-native-maps/.bun-tag-637c669e70a1c618 b/.bun-tag-637c669e70a1c618
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/react-native-maps/.bun-tag-883b044205d7e4f1 b/.bun-tag-883b044205d7e4f1
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/react-native-maps/.bun-tag-b17bba74fd3930d3 b/.bun-tag-b17bba74fd3930d3
@jediahkatz
jediahkatz / SKILL.md
Created January 23, 2026 20:25
Cursor skill for capturing learnings from conversations into reusable skills
name description
capture-skill
Capture learnings, patterns, or workflows from the current conversation into a new or existing skill. Use when the user wants to save what was learned, discovered, or built during a conversation as a reusable skill for future sessions.

Capture Skill from Conversation

This skill helps you extract knowledge, patterns, and workflows from the current conversation and persist them as a reusable skill.

When to Use

@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@wojteklu
wojteklu / clean_code.md
Last active January 24, 2026 09:20
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules